home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_08_09
/
8n09018a
< prev
next >
Wrap
Text File
|
1990-08-11
|
285b
|
17 lines
/* _Assert function
* copyright (c) 1990 by P.J. Plauger
*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
/* print assertion message and abort */
void _Assert(char *mesg)
{
fputs(mesg, stderr);
fputs(" -- assertion failed\n", stderr);
abort();
}